import Layout from '@/layout'

const archivesManage = {
  path: '/archivesManage',
  component: Layout,
  redirect: 'noRedirect',
  name: 'archivesManage',
  meta: {
    title: '数字档案',
    icon: 'component',
    roles: ['root', 'staff']
  },
  children: [
    {
      path: 'archCategory',
      name: 'archCategory',
      component: () => import('@/views/archivesManage/archCategory.vue'),
      meta: {
        title: '档案分类管理',
        roles: ['root']
      }
    },
    {
      path: 'archBorrow',
      name: 'archBorrow',
      component: () => import('@/views/archivesManage/archBorrow.vue'),
      meta: {
        title: '数字档案借阅',
        roles: ['staff']
      }
    }
    // {
    //   path: "preArchiving",
    //   name: "currentArchivinpreArchivingg",
    //   component: () => import('@/views/archivesManage/preArchiving.vue'),
    //   meta: {
    //     title: '预归档',
    //     roles: ['nomalAuth', 'Arch']
    //   }
    // },
  ]
}

export default archivesManage
